# $Id: PKGBUILD 88333 2013-04-16 13:31:22Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Simo Leone <neotuli@gmail.com>

pkgname=t1utils
pkgver=1.37
pkgrel=1
pkgdesc="A collection of simple Type 1 font manipulation programs"
arch=('i686' 'x86_64')
url="http://www.lcdf.org/~eddietwo/type/#t1utils"
license=("custom")
depends=('glibc')
source=("http://www.lcdf.org/~eddietwo/type/$pkgname-$pkgver.tar.gz"
	LICENSE)
md5sums=('dcff07df0b334c06d1808530956a634e'
         '5a1334c824d21f0314c831f9fd19a587')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
